<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/file.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_colorpicker.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]admin/css/style.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			$(document).ready(function () {
				$('#authority_select').select_checkbox_link();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("[placeholder]").tooltip();
				$("#espcms_saveInfo").espcms_formvalidation({focusName: "#[%$first_field%]"});
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							parent.$("body").append(data.data);
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 500);
						}
					}
				});
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
				$('.espcms_dialog_link').espcms_dig();
			});
		</script>
	</head>
	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">
				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<div class="section-divider mb40"><span>[%pack:setting_pack-espcms_setting_type_12%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:setting_pack-espcms_errpage_404file%]</label>
								<div class="col-sm-7">
									<div class="input-group">
										<input type="text" name="ERRPAGE_404" class="form-control" id="ERRPAGE_404" value="[%$ERRPAGE_404%]" data-isvalidation="true" data-validation="^[\w]+$" data-display-type="top" placeholder="[%pack:setting_pack-espcms_errpage_404file_title%]" title="[%pack:setting_pack-espcms_errpage_404file_title%]" data-validation-msg="[%pack:setting_pack-espcms_errpage_404file_validation_msg%]"/>
										<span class="input-group-btn">
											<button type="button" class="btn btn-orange espcms_dialog_link" id="add_item" data-w="800px" data-h="520px" data-url="[%$templates_select%]&inputname=ERRPAGE_404&iframeName=[%$iframes_name%]&template_type=web&template_dir=public" data-title="[%pack:botton_pack-espcms_botton_select_templates%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:botton_pack-espcms_botton_select_templates%]</button>
										</span>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:setting_pack-espcms_errpage_500file%]</label>
								<div class="col-sm-7">
									<div class="input-group">
										<input type="text" name="ERRPAGE_500" class="form-control" id="ERRPAGE_500" value="[%$ERRPAGE_500%]" data-isvalidation="true" data-validation="^[\w]+$" data-display-type="top" placeholder="[%pack:setting_pack-espcms_errpage_500file_title%]" title="[%pack:setting_pack-espcms_errpage_500file_title%]" data-validation-msg="[%pack:setting_pack-espcms_errpage_500file_validation_msg%]"/>
										<span class="input-group-btn">
											<button type="button" class="btn btn-orange espcms_dialog_link" id="add_item" data-w="800px" data-h="520px" data-url="[%$templates_select%]&inputname=ERRPAGE_500&iframeName=[%$iframes_name%]&template_type=web&template_dir=public" data-title="[%pack:botton_pack-espcms_botton_select_templates%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:botton_pack-espcms_botton_select_templates%]</button>
										</span>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-9 f12 text-danfei lh200c">[%pack:setting_pack-espcms_errpage_create_str%]</div>
							</div>
							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:setting_pack-espcms_setting_button%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_create_cancel%]</button>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
